<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<table id="treeGrid" class="easyui-treegrid"
	data-options="
		url: 'project/list',
		method: 'get',
		rownumbers: true,
		idField: 'id',
		treeField: 'name',
		fit:true,
		fitColumns:true,
		toolbar:[{
			text:'添加',
			iconCls:'icon-add',
			handler:function(){openAddDialog()}
		},'-',{
			text:'修改',
			iconCls:'icon-edit',
			handler:function(){openEditDialog()}
		},'-',{
			text:'删除',
			iconCls:'icon-remove',
			handler:function(){openDeleteDialog()}
		}]
	">
<thead>
	<tr>
		<th data-options="field:'id',width:80">ID</th>
		<th data-options="field:'name',width:300">工程名称</th>
		<th data-options="field:'address',width:300">工程地址</th>
		<th data-options="field:'jiandu',width:300">监督机构</th>
		<th data-options="field:'jiance',width:300">检测机构</th>
		<th data-options="field:'person',width:300">项目负责人</th>
		<th data-options="field:'time',width:300">预计检测时间</th>
		<th data-options="field:'jianshe',width:300">建设单位</th>
		<th data-options="field:'jianli',width:300">监理单位</th>
		<th data-options="field:'sheji',width:300">设计单位</th>
		<th data-options="field:'kancha',width:300">勘察单位</th>
		<th data-options="field:'jizhuang',width:300">基桩施工单位</th>
		<th data-options="field:'weituo',width:300">委托单位</th>
	</tr>
</thead>
</table>